﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020007F7 RID: 2039
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetRogueInitialScoreScRsp : IMessage<GetRogueInitialScoreScRsp>, IMessage, IEquatable<GetRogueInitialScoreScRsp>, IDeepCloneable<GetRogueInitialScoreScRsp>, IBufferMessage
	{
		// Token: 0x170019E3 RID: 6627
		// (get) Token: 0x06005B6C RID: 23404 RVA: 0x000F53D7 File Offset: 0x000F35D7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetRogueInitialScoreScRsp> Parser
		{
			get
			{
				return GetRogueInitialScoreScRsp._parser;
			}
		}

		// Token: 0x170019E4 RID: 6628
		// (get) Token: 0x06005B6D RID: 23405 RVA: 0x000F53DE File Offset: 0x000F35DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetRogueInitialScoreScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170019E5 RID: 6629
		// (get) Token: 0x06005B6E RID: 23406 RVA: 0x000F53F0 File Offset: 0x000F35F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetRogueInitialScoreScRsp.Descriptor;
			}
		}

		// Token: 0x06005B6F RID: 23407 RVA: 0x000F53F7 File Offset: 0x000F35F7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueInitialScoreScRsp()
		{
		}

		// Token: 0x06005B70 RID: 23408 RVA: 0x000F5400 File Offset: 0x000F3600
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueInitialScoreScRsp(GetRogueInitialScoreScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.rogueScoreRewardInfo_ = ((other.rogueScoreRewardInfo_ != null) ? other.rogueScoreRewardInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005B71 RID: 23409 RVA: 0x000F544C File Offset: 0x000F364C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueInitialScoreScRsp Clone()
		{
			return new GetRogueInitialScoreScRsp(this);
		}

		// Token: 0x170019E6 RID: 6630
		// (get) Token: 0x06005B72 RID: 23410 RVA: 0x000F5454 File Offset: 0x000F3654
		// (set) Token: 0x06005B73 RID: 23411 RVA: 0x000F545C File Offset: 0x000F365C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170019E7 RID: 6631
		// (get) Token: 0x06005B74 RID: 23412 RVA: 0x000F5465 File Offset: 0x000F3665
		// (set) Token: 0x06005B75 RID: 23413 RVA: 0x000F546D File Offset: 0x000F366D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueScoreRewardInfo RogueScoreRewardInfo
		{
			get
			{
				return this.rogueScoreRewardInfo_;
			}
			set
			{
				this.rogueScoreRewardInfo_ = value;
			}
		}

		// Token: 0x06005B76 RID: 23414 RVA: 0x000F5476 File Offset: 0x000F3676
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetRogueInitialScoreScRsp);
		}

		// Token: 0x06005B77 RID: 23415 RVA: 0x000F5484 File Offset: 0x000F3684
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetRogueInitialScoreScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.RogueScoreRewardInfo, other.RogueScoreRewardInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005B78 RID: 23416 RVA: 0x000F54D4 File Offset: 0x000F36D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.rogueScoreRewardInfo_ != null)
			{
				num ^= this.RogueScoreRewardInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005B79 RID: 23417 RVA: 0x000F5529 File Offset: 0x000F3729
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005B7A RID: 23418 RVA: 0x000F5531 File Offset: 0x000F3731
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005B7B RID: 23419 RVA: 0x000F553C File Offset: 0x000F373C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueScoreRewardInfo_ != null)
			{
				output.WriteRawTag(98);
				output.WriteMessage(this.RogueScoreRewardInfo);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005B7C RID: 23420 RVA: 0x000F5598 File Offset: 0x000F3798
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.rogueScoreRewardInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueScoreRewardInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005B7D RID: 23421 RVA: 0x000F55F0 File Offset: 0x000F37F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetRogueInitialScoreScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.rogueScoreRewardInfo_ != null)
			{
				if (this.rogueScoreRewardInfo_ == null)
				{
					this.RogueScoreRewardInfo = new RogueScoreRewardInfo();
				}
				this.RogueScoreRewardInfo.MergeFrom(other.RogueScoreRewardInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005B7E RID: 23422 RVA: 0x000F5658 File Offset: 0x000F3858
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005B7F RID: 23423 RVA: 0x000F5664 File Offset: 0x000F3864
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 98U)
				{
					if (num != 104U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.rogueScoreRewardInfo_ == null)
					{
						this.RogueScoreRewardInfo = new RogueScoreRewardInfo();
					}
					input.ReadMessage(this.RogueScoreRewardInfo);
				}
			}
		}

		// Token: 0x0400236A RID: 9066
		private static readonly MessageParser<GetRogueInitialScoreScRsp> _parser = new MessageParser<GetRogueInitialScoreScRsp>(() => new GetRogueInitialScoreScRsp());

		// Token: 0x0400236B RID: 9067
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400236C RID: 9068
		public const int RetcodeFieldNumber = 13;

		// Token: 0x0400236D RID: 9069
		private uint retcode_;

		// Token: 0x0400236E RID: 9070
		public const int RogueScoreRewardInfoFieldNumber = 12;

		// Token: 0x0400236F RID: 9071
		private RogueScoreRewardInfo rogueScoreRewardInfo_;
	}
}
